home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
prog
/
gnu-c
/
man
/
cat1
/
objdump.0
< prev
next >
Wrap
Text File
|
1995-08-24
|
9KB
|
331 lines
objdump(1) GNU Development Tools objdump(1)
NNAAMMEE
objdump - display information from object files.
SSYYNNOOPPSSIISS
oobbjjdduummpp
[--aa|----aarrcchhiivvee--hheeaaddeerrss] [--bb _b_f_d_n_a_m_e |
----ttaarrggeett==_b_f_d_n_a_m_e] [--dd|----ddiissaasssseemmbbllee]
[--DD|----ddiissaasssseemmbbllee--aallll] [--ff|----ffiillee--hheeaaddeerrss]
[--hh|----sseeccttiioonn--hheeaaddeerrss | ----hheeaaddeerrss] [--ii|----iinnffoo]
[--jj _s_e_c_t_i_o_n | ----sseeccttiioonn==_s_e_c_t_i_o_n]
[--ll|----lliinnee--nnuummbbeerrss] [--mm _m_a_c_h_i_n_e |
----aarrcchhiitteeccttuurree==_m_a_c_h_i_n_e] [--rr|----rreelloocc]
[--RR|----ddyynnaammiicc--rreelloocc] [--ss|----ffuullll--ccoonntteennttss] [----ssttaabbss]
[--tt|----ssyymmss] [--TT|----ddyynnaammiicc--ssyymmss] [--xx|----aallll--hheeaaddeerrss]
[----vveerrssiioonn] [----hheellpp] _o_b_j_f_i_l_e...
DDEESSCCRRIIPPTTIIOONN
oobbjjdduummpp displays information about one or more object
files. The options control what particular information to
display. This information is mostly useful to programmers
who are working on the compilation tools, as opposed to
programmers who just want their program to compile and
work.
_o_b_j_f_i_l_e... are the object files to be examined. When you
specify archives, oobbjjdduummpp shows information on each of the
member object files.
OOPPTTIIOONNSS
Where long and short forms of an option are shown togeth-
er, they are equivalent. At least one option besides --ll
(----lliinnee--nnuummbbeerrss) must be given.
--aa
----aarrcchhiivvee--hheeaaddeerrss
If any files from _o_b_j_f_i_l_e are archives, display the
archive header information (in a format similar to
`llss --ll'). Besides the information you could list
with `aarr ttvv', `oobbjjdduummpp --aa' shows the object file
format of each archive member.
--bb _b_f_d_n_a_m_e
----ttaarrggeett==_b_f_d_n_a_m_e
Specify the object-code format for the object
files to be _b_f_d_n_a_m_e. This may not be necessary;
_o_b_j_d_u_m_p can automatically recognize many formats.
For example,
cygnus support 5 November 1991 1
objdump(1) GNU Development Tools objdump(1)
objdump -b oasys -m vax -h fu.o
display summary information from the section head-
ers (`--hh') of `ffuu..oo', which is explicitly identi-
fied (`--mm') as a Vax object file in the format pro-
duced by Oasys compilers. You can list the formats
available with the `--ii' option.
--dd
----ddiissaasssseemmbbllee
Display the assembler mnemonics for the machine in-
structions from _o_b_j_f_i_l_e. This option only disas-
sembles those sections which are expected to con-
tain instructions.
--DD
----ddiissaasssseemmbbllee--aallll
Like --dd, but disassemble the contents of all sec-
tions, not just those expected to contain instruc-
tions.
--ff
----ffiillee--hheeaaddeerrss
Display summary information from the overall header
of each file in _o_b_j_f_i_l_e.
--hh
----sseeccttiioonn--hheeaaddeerrss
----hheeaaddeerrss
Display summary information from the section head-
ers of the object file.
----hheellpp Print a summary of the options to oobbjjdduummpp and exit.
--ii
----iinnffoo Display a list showing all architectures and object
formats available for specification with --bb or --mm.
--jj _n_a_m_e
cygnus support 5 November 1991 2
objdump(1) GNU Development Tools objdump(1)
----sseeccttiioonn==_n_a_m_e
Display information only for section _n_a_m_e
--ll
----lliinnee--nnuummbbeerrss
Label the display (using debugging information)
with the filename and source line numbers corre-
sponding to the object code shown. Only useful
with --dd or --DD.
--mm _m_a_c_h_i_n_e
----aarrcchhiitteeccttuurree==_m_a_c_h_i_n_e
Specify the object files _o_b_j_f_i_l_e are for architec-
ture _m_a_c_h_i_n_e. You can list available architectures
using the `--ii' option.
--rr
----rreelloocc
Print the relocation entries of the file. If used
with --dd or --dd, the relocations are printed inter-
spersed with the disassembly.
--RR
----ddyynnaammiicc--rreelloocc
Print the dynamic relocation entries of the file.
This is only meaningful for dynamic objects, such
as certain types of shared libraries.
--ss
----ffuullll--ccoonntteennttss
Display the full contents of any sections request-
ed.
----ssttaabbss
Display the contents of the .stab, .stab.index, and
.stab.excl sections from an ELF file. This is only
useful on systems (such as Solaris 2.0) in which
.stab debugging symbol-table entries are carried in
an ELF section. In most other file formats, debug-
ging symbol-table entries are interleaved with
linkage symbols, and are visible in the --syms out-
put.
cygnus support 5 November 1991 3
objdump(1) GNU Development Tools objdump(1)
--tt
----ssyymmss Symbol Table. Print the symbol table entries of
the file. This is similar to the information pro-
vided by the `nnmm' program.
--TT
----ddyynnaammiicc--ssyymmss
Dynamic Symbol Table. Print the dynamic symbol
table entries of the file. This is only meaningful
for dynamic objects, such as certain types of
shared libraries. This is similar to the informa-
tion provided by the `nnmm' program when given the --DD
((----ddyynnaammiicc)) option.
----vveerrssiioonn
Print the version number of oobbjjdduummpp and exit.
--xx
----aallll--hheeaaddeerrss
Display all available header information, including
the symbol table and relocation entries. Using
`--xx' is equivalent to specifying all of `--aa --ff --hh
--rr --tt'.
SSEEEE AALLSSOO
`bbiinnuuttiillss' entry in iinnffoo; _T_h_e _G_N_U _B_i_n_a_r_y _U_t_i_l_i_t_i_e_s, Roland
H. Pesch (October 1991); nnmm(11).
CCOOPPYYIINNGG
Copyright (c) 1991 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim
copies of this manual provided the copyright notice and
this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified ver-
sions of this manual under the conditions for verbatim
copying, provided that the entire resulting derived work
is distributed under the terms of a permission notice
identical to this one.
Permission is granted to copy and distribute translations
of this manual into another language, under the above con-
ditions for modified versions, except that this permission
notice may be included in translations approved by the
Free Software Foundation instead of in the original En-
cygnus support 5 November 1991 4
objdump(1) GNU Development Tools objdump(1)
glish.
cygnus support 5 November 1991 5